package st.business.tepth.business.history.detail.entity;

import com.chad.library.adapter.base.entity.AbstractExpandableItem;
import com.chad.library.adapter.base.entity.MultiItemEntity;

import st.business.tepth.business.history.detail.HistoryDetailAdapter;

/**
 * @author zhangyu
 * @date 2019/5/28
 */
public class Lv_2 extends AbstractExpandableItem<MultiItemEntity> implements MultiItemEntity {
    private final String name;
    private final String date;

    public Lv_2(String name, String date) {
        this.name = name;
        this.date = date;
    }

    public String getDate() {
        return date;
    }

    public String getName() {
        return name;
    }

    @Override
    public int getItemType() {
        return HistoryDetailAdapter.TYPE_2;
    }

    @Override
    public int getLevel() {
        return 1;
    }
}
